<?php
/**
* Requirement :
* If any string contain
*  1. Single Quotes (')
*  2. Double Quotes (")
*  3. Backslash (\)
*   Then those special characters should not be read by compiler or cn say  must be Stripped by
* complier.
**/

//This is ravi's string. He has "500Rs" didn't know PHP and this is backslash \
$str = 'This is \'ravi.
 He has "500Rs"
 and this is backslash \ ';

echo addslashes($str);
echo "\n";
//echo "<br>";
echo stripslashes($str);


